Programming with Effects

Seminar

Code often has a happy path to the goal, but needs to consider a lot of error cases as well. These error cases deviate from the path and need to be handled. In software, we can leverage several solutions differing in their power to similar problems:

At some point we no longer consider the exceptions as "side"-effects, i.e., things which went wrong, but instead we use the continuations as equally important parts of the primary goal of some functionality -- an effect. Effect handlers as generalizations of exception handlers offer interesting new ways to modularize software. Effects and co-effects can accurately represent additional capabilities and restrictions on parts of code.

Seminar

In the seminar: